# -*- coding: utf-8 -*-
# -----------------------------------------
# @Time       : 2018/6/18 9:25
# @Author     : dqz 
# @Email      : 1406990390@qq.com
# @File       : settings.py
# @Software   : PyCharm
# -----------------------------------------


import os

BASE_DIR = os.path.dirname(os.path.abspath(__file__))

SECRET_KEY = "@5!AsZCc#kvJ^45nE06tSvnEZbPQhx26"

# 返回中文不乱码
JSON_AS_ASCII = False

LOG_DIR = os.path.join(BASE_DIR, 'logs')

DEBUG = False

# 钉钉token
DING_TOKEN = '676a666581e6ff38a9b0dca56992842fae15dcb2e06e11385bed8f5047e9ec4d'

# 飞书token
FEISHU_TOKEN = 'ad9b7463616d441d96c3e91c2e71186b'

# 企业微信token
QYWX_TOKEN = 'ad9b7463616d441d96c3e91c2e71186b'

# IM超时时间
IM_TIMEOUT = 3

# 过滤掉基础库和非业务库
FILTER_DB = ('information_schema', 'mysql', 'performance_schema', 'test', "sys", "opsdb")
